mergPopMenu
Type
function
Summary
Presents a popup contextual menu like the Cut|Copy|Paste menu in a text view
Syntax
mergPopMenu(<pButtons>, [<pRect>])
Description
Presents a popup contextual menu like the Cut|Copy|Paste menu in a text view
Parameters
Name | Type | Description |
---|---|---|
pButtons | a comma delimited list of button labels. | |
pRect | (optional with "" default) a rect on screen which is used as the location the popover is presented from. This defaults to the rect of the target control. |
Examples
switch mergPopMenu("Duplicate,Delete")
case "Duplicate"
clone the target
break
case "Delete"
delete the target
break
end switch
Compatibility and Support
Introduced
LiveCode 8.0
OS
ios
Platforms
mobile